﻿//------------------------------------------------------------------------------ 
// <copyright file="ModalMaxButton.cs" company="Fm Computer">
//     Copyright (c) Fm Computer di Menatti Fulvia.  All rights reserved.
// </copyright>
//----------------------------------------------------------------------------- 
namespace FmjQuery
{
    using System.Web.UI;

    /// <summary>
    /// Minimized Button
    /// </summary>
    public class ModalMaxButton : IjModalButton
    {
        #region Costruct
        /// <summary>
        /// Initializes a new instance of the ModalMaxButton class. Create new Maximized Button
        /// </summary>
        public ModalMaxButton()
        {
            this.RestoreButton = new ModalRestoreButton();
        }
        #endregion

        #region Implementation of IjModalButton
        /// <summary>
        /// Gets or sets a value indicating whether if button is visible
        /// </summary>
        public bool Visible
        {
            get; set;
        }

        /// <summary>
        /// Gets or sets normal img
        /// </summary>
        [UrlProperty]
        public string Normal
        {
            get; set;
        }

        /// <summary>
        /// Gets or sets hover img
        /// </summary>
        [UrlProperty]
        public string Hover
        {
            get; set;
        }

        /// <summary>
        /// Gets or sets restoreButton option
        /// </summary>
        [PersistenceMode(PersistenceMode.InnerProperty)]
        public ModalRestoreButton RestoreButton
        {
            get; set;
        }
        #endregion
    }
}
